package com.day0907;

import java.util.Scanner;

//选择 分支 结构
public class Text5 {
    public static void main(String[] args) {

        Scanner in = new Scanner(System.in);
        System.out.println("Java成绩为：");
        int score = in.nextInt();
        if(score > 90){
            System.out.println("奖励一个苹果！");
        }
        else if(score > 80){
            System.out.println("奖励一个Mp3！");
        }
        else if(score > 60) {
            System.out.println("还需努力！");
        }
        else {
            System.out.println("多多努力！");
        }


    }
}
